package org.example.entity.po;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Entity
@Table(name = "t_volunteer_work")
public class VolunteerWorkPO {


    @Id
    private Long id;

    /**
     * 作品标题
     */
    private String title;

    /**
     * 作品介绍
     */
    private String info;

    /**
     * 作品类型
     */
    private String type;

    /**
     * Oss Id
     */
    private Long resourceId;

    /**
     * 发布人id
     */
    private Long userId;

    /**
     * 发布日期
     */
    private String createDate;

    /**
     * 访问量
     */
    private Integer visitsCount;

    /**
     * 0-未删除 1-已删除
     */
    @Column(name = "delFlag")
    private Integer delFlag;

}
